package com.dsg.entity.oil;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @Description
 * @Author system
 * @Date 2020-06-28
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "dsg_oil_cardtype")
@ApiModel(value = "DsgOilCardtype对象", description = "油公司油咭类型")
public class DsgOilCardtype implements Serializable {
    private static final long serialVersionUID = 1779952991510042584L;

    /**
     * 主键
     */
    @TableId(value = "OID")
    @ApiModelProperty(value = "主键", name = "oid")
    private String oid;

    /**
     * 油公司资料OID
     */
    @TableField(value = "PID")
    @ApiModelProperty(value = "油公司资料OID", name = "pid")
    private String pid;

    /**
     * 油咭类型
     */
    @TableField(value = "CARD_TYPE")
    @ApiModelProperty(value = "油咭类型", name = "cardType")
    private String cardType;

    /**
     * 拉咭解析规则
     */
    @TableField(value = "PULL_CARD_RULE")
    @ApiModelProperty(value = "拉咭解析规则", name = "pullCardRule")
    private String pullCardRule;

    /**
     * 是否有payment 0:无1:有
     */
    @TableField(value = "IS_PAYMENT")
    @ApiModelProperty(value = "是否有payment 0:无1:有", name = "isPayment")
    private Integer isPayment;

    /**
     * 是否上Form 0:不上1:要上
     */
    @TableField(value = "IS_FORM")
    @ApiModelProperty(value = "是否上Form 0:不上1:要上", name = "isForm")
    private Integer isForm;

    /**
     * 是否包含子类型 0:否:是
     */
    @TableField(value = "IS_CONTAIN")
    @ApiModelProperty(value = "是否包含子类型 0:否:是", name = "isContain")
    private Integer isContain;

    /**
     * 企業編號
     */
    @TableField(value = "ENT_CODE")
    @ApiModelProperty(value = "企業編號", name = "entCode")
    private String entCode;

    /**
     * 创建人
     */
    @TableField(value = "CREATER")
    @ApiModelProperty(value = "创建人", name = "creater")
    private String creater;

    /**
     * 创建时间
     */
    @TableField(value = "CREATE_TIME")
    @ApiModelProperty(value = "创建时间", name = "createTime")
    private Date createTime;

    /**
     * 更新人
     */
    @TableField(value = "UPDATER")
    @ApiModelProperty(value = "更新人", name = "updater")
    private String updater;

    /**
     * 更新时间
     */
    @TableField(value = "UPDATE_TIME")
    @ApiModelProperty(value = "更新时间", name = "updateTime")
    private Date updateTime;

    /**
     * 付款方式
     */
    @TableField(value = "PAY_TYPE")
    @ApiModelProperty(value = "付款方式", name = "payType")
    private Integer payType;
}
